package com.zsqat.eshop.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zsqat.common.utils.PageUtils;
import com.zsqat.eshop.product.entity.AttrGroupEntity;
import com.zsqat.eshop.product.vo.AttrGroupWithAttrsVo;
import com.zsqat.eshop.product.vo.SpuItemAttrGroupVo;
import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author zsqat
 * @email 491192853@qq.com
 * @date 2020-11-19 16:40:59
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {
    PageUtils queryPage(Map<String, Object> params);
    PageUtils queryPage(Map<String, Object> params, long categoryId);
    List<AttrGroupWithAttrsVo> getAttrGroupWithAttrsByCategoryId(Long categoryId);
    List<SpuItemAttrGroupVo> getAttrGroupWithAttrsBySpuId(Long spuId, Long categoryId);
}

